package com.ithema.mArrayList;

import java.util.Random;

public class hh {
    public static void main(String[] args) {
                int a=11,b=12,c=10;
                int k=method1(a,b,c);
                System.out.println(k);
                int l=method2(a,b,c);
                System.out.println(l);

            }
            public static int method1(int a,int b, int c){
                int max=0;

                if(a>b&&a>c){
                    max=a;
                }else if(b>a&&b>c){
                    max=b;
                }else if(b>a&&b>c){
                    max=c;
                }
                return max;
            }
            public static int method2(int a,int b, int c){
                int sum=0;
                sum=a+b+c;
                return sum;
            }

}
